/**
 * @file Mouse.cpp
 */
#include "StdAfx.h"
#include "NTEngine/Input/Mouse.h"
#include <dinput.h>
#include "Input/src/ManagerImpl.h"

namespace NTEngine {
namespace Input {

int Mouse::pointX() const {
	return g_ManagerImpl->posX_Mouse();
}

int Mouse::pointY() const {
	return g_ManagerImpl->posY_Mouse();
}

int Mouse::movedX() const {
	return g_ManagerImpl->vX_Mouse();
}

int Mouse::movedY() const {
	return g_ManagerImpl->vY_Mouse();
}

int Mouse::wheel() const {
	return g_ManagerImpl->wheel_Mouse();
}

bool Mouse::isOn( MouseButton b ) const {
	return g_ManagerImpl->isOn_Mouse( b );
}

bool Mouse::isTriggered( MouseButton b ) const {
	return g_ManagerImpl->isTriggered_Mouse( b );
}

} // namespace Input
} // namespace NTEngine
// EOF